package com.xqboss.apps.domain.marketing;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.domain.nft.Nft;
import com.xqboss.apps.enums.marketing.AirdropStatusEnum;
import com.xqboss.apps.enums.nft.NftTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author Trent
 * @date 2023/9/1
 */
@Data
public class MarketingAirdrop extends BaseTable {

    @TableId(type = IdType.INPUT)
    private Long id;
    @ApiModelProperty("空投原因")
    private String reason;
    @ApiModelProperty("空投图片")
    private String airdropImg;
    @ApiModelProperty("空投名称")
    private String airdropName;
    @ApiModelProperty("发行方名称")
    private String publishName;
    @ApiModelProperty("空投时间")
    private LocalDateTime airdropTime;
    @ApiModelProperty("源id")
    private Long sourceId;
    @ApiModelProperty("空投状态")
    private AirdropStatusEnum airdropStatus;
    @ApiModelProperty("空投类型")
    private NftTypeEnum airdropType;
    @ApiModelProperty("创建人")
    private Long createUserId;
    @ApiModelProperty("创建人姓名")
    private String createUserName;
    @ApiModelProperty("空投人数")
    private Integer userSize;
    @ApiModelProperty("每人空投数量")
    private Integer quantity;


    @TableField(exist = false)
    private Nft nft;
}
